//
//  HomeFlowLayout.m
//  YSSmartHome
//
//  Created by Yahaong on 16/8/10.
//  Copyright © 2016年 yahaong. All rights reserved.
//

#import "HomeFlowLayout.h"
#import "UIView+Frame.h"

@implementation HomeFlowLayout
- (void)prepareLayout
{
    [super prepareLayout];
    self.minimumLineSpacing = 0.0;
    self.minimumInteritemSpacing = 0.0;
    if (self.collectionView.yh_height) {
        self.itemSize = self.collectionView.yh_size;
    }
    self.scrollDirection = UICollectionViewScrollDirectionHorizontal;
}
@end
